nitial\input knuth
>
> \framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input
> knuth
> }
>
> \framedtext[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input
> knuth
> }
>
> \stoptext
> %==
>
>
There is a wor
that
\starthangaround is undefined. It isn’t in any of my context installation
files, including cont-new.tex. I'm using LMTX, installed a few days ago.
Is it possible for me to use \starthangaround ?
The environment was renamed a few years ago to \starthanging.
Wolfgang
, for each contributor to a book. So any suggestions on how to
wrap text around the photo that avoids this issue would be welcome.
\setuppapersize [A5] [A5]
\starttext
\dorecurse{12}
{\subject{Some heading}
\starthanging[right]{\externalfigure[cow.pdf][width=3cm]}
\samplefile{lorem
[6*left,right] \samplefile{tufte} \CrappyTraced
\stopnarrower
\starthanging [distance=4em,n=2] {test} \samplefile{tufte} \CrappyTraced
\stophanging
\page % \stoptext \setuppapersize[landscape,letter]
\samplefile{knuth} \CrappyTraced \startitemize[width=5em]
\startitem
\samplefile{knuth}
On 5/7/2021 11:55 AM, Jano Kula wrote:
Hello again,
does somebody have any hint on the long captions?
Ok, after a week of struggling with this you deserve an answer:
\starttext
\starthanging
{\framed[align=normal,bottom=\vkern10pt]{\externalfigure[t:/sources/cow.pdf][width=3cm
On 4/8/20 11:32 AM, Fabrice Couvreur wrote:
> [...]
> \startframedtext[width=max,background=color,backgroundcolor=fondpaille]
> \starthanging[location=right]
> {\startMPcode
> draw unitsquare scaled 2cm ;
> \stopMPcode}
> \input tuft
Hi Pablo,
Here a sample.
Fabrice
\useMPlibrary[dum]
\definecolor[fondpaille][c=0,m=0,y=0.2,k=0]
\starttext
\startframedtext[width=max,background=color,backgroundcolor=fondpaille]
\starthanging[location=right]
{\startMPcode
draw unitsquare scaled 2cm
Salut,
do maybe combinations fit your needs?
https://wiki.contextgarden.net/Combinations
Best, Hraban
> Am 2019-11-17 um 11:01 schrieb Fabrice Couvreur :
>
> Hello,
> I am looking but without success !
> I tried \ starthanging [location = right] {tree} \ stophanging but that d
Hello,
I am looking but without success !
I tried \ starthanging [location = right] {tree} \ stophanging but that
does not work either.
Fabrice
Le sam. 16 nov. 2019 à 12:44, Fabrice Couvreur
a écrit :
> Hello,
> I want to use a text frame to put text and a probability tree side by
][width=.5\hsize]
\stopplacefigure
\samplefile{lorem}
\stopframed
\stoptext
\starttext
\startframed[align={width,tolerant},width=max,lines=20,offset=0pt]
\starthanging{\externalfigure[dummy][width=.5\hsize]}
\samplefile{lorem}
\stophanging
\stopframed
\stoptext
Wolfgang
\starthanging[location=right]{\blackrule[color=darkgreen,width=1in,height=0.5in]}
\input ward
\stophanging
\startitemize[n]
\item
\starthanging[location=right]{\blackrule[color=darkred,width=1in,height=0.5in]}
\input ward
\stophanging
\stopitemize
\stoptext
hang.pdf
Description: Adobe PDF document
Dear all,
I am using \starthanging to implement dropcaps (with small pdf files). I use
this Inside mixedcolumns (2 columns).
I’d like to know if there is a better way than \testcolumn[N], N being the
number of lines of the dropcap, to prevent the location of dropcap being cut
between end
\starthanging{\externalfigure[D1.pdf]}
This is a first paragraph.\\ % how to have \par here ?
\input tufte
\stophanging
\lettrine[Image=yes, Lines=4, Nindent=0pt, Findent=0.5em]{D1.pdf} % avoid Lines
and use actual figure size ?
This is a first paragraph.\\ % how to have \par here ?
\input tufte
On 9/23/2015 10:15 PM, Wolfgang Schuster wrote:
Hi,
there was a question on the Stackexchange site [*] with a problem
for the \starthanging environment when the alignment is R2L.
\def\spac_hanging_finish
{\scratchdistance\directhangingparameter\c!distance\relax
\ifdim\ht\nextbox>\stru
Hi,
there was a question on the Stackexchange site [*] with a problem
for the \starthanging environment when the alignment is R2L.
Here is shortened version of the example:
begin example
\useMPlibrary[dum]
\starttext
\starthanging[location=left]{\externalfigure[dummy][width=4cm,height
Hi Rik,
I actually read that Wolfgang had written, but there is some confusion for
me. Indeed, my environment uses a frame and Wolfgang said to be used \
starthanging ... \stophanging rather than \placefigure. But my text contains
a blank line which is to create a new paragraph and so I should use
\starttext
\startMyText
\starthanging[location=right]
{\startMPcode
path p ;
p := fullcircle xscaled 4cm yscaled 2cm ;
fill p withcolor cmyk(0,0.62,1,0) ;
path q ; q := fullcircle scaled 1cm shifted (1cm, ypart center p)
;
fill q withcolor
) ;
b := boundingbox p leftenlarged .5EmWidth rightenlarged .5EmWidth ;
fill OverlayBox withcolor \MPcolor{MyColorA} ;
fill b withcolor \MPcolor{MyColorB} ;
draw p ;
\stopuseMPgraphic
\starttext
\startMyText
\starthanging[location=right]
{\startMPcode
path p
\MPcolor{MyColorB} ;
draw p ;
\stopuseMPgraphic
\starttext
\startMyText
\starthanging[location=right]
{\startMPcode
path p ;
p := fullcircle xscaled 4cm yscaled 2cm ;
fill p withcolor cmyk(0,0.62,1,0) ;
path q ; q := fullcircle scaled 1cm shifted
framedtext like the second
framedtext ?
You have to use \starthanging instead of \placefgure when you’re in a
frame.
\starttext
\startframedtext[width=max]
\starthanging[location=right]
{\startMPcode
draw unitsquare scaled 2cm ;
\stopMPcode}
\input tufte
Fabrice Couvreur mailto:fabrice1.couvr...@gmail.com
8. August 2015 00:49
Hi,
Why the text does not move in the first framedtext like the second
framedtext?
You have to use \starthanging instead of \placefgure when you’re in a frame.
\starttext
\startframedtext[width=max]
\starthanging
Dear Wolfgang,
You have to use \starthanging instead of \placefgure when you’re in a frame.
\starttext
\startframedtext[width=max]
\starthanging[location=right]
{\startMPcode
draw unitsquare scaled 2cm ;
\stopMPcode}
\input tufte
\stophanging
.
then the text is wrapped around the figure when using \starthanging.
Best regards: OK
On 08 Aug 2015, at 15:49, Jeong Dal hak...@me.com wrote:
Dear Wolfgang,
You have to use \starthanging instead of \placefgure when you’re in a frame.
\starttext
\startframedtext[width=max
Jeong Dal mailto:hak...@me.com
8. August 2015 15:49
Dear Wolfgang,
Thank you for letting me know the command “starthanging”.
I tried the command “\startfiguretext … \stopfiguretext”, and found
that there is no text below the square.
\startframedtext[width=\textwidth]{
\startfiguretext[right
,
foregroundcolor=white,
forgroundstyle=bold]
\dorecurse {100} {
\starthanging{\whatever{#1}}
\input tufte
\stophanging
}
\stoptext
And rounded corners?
you can either configure framed to do that or hook in some mp (see wiki
or elsewhere?
\starttext
\defineframed
[whatever]
[width=1cm,
height=1cm,
background=color,
backgroundcolor=darkblue,
foregroundcolor=white,
forgroundstyle=bold]
\dorecurse {100} {
\starthanging{\whatever{#1}}
\input tufte
,
forgroundstyle=bold]
\dorecurse {100} {
\starthanging{\whatever{#1}}
\input tufte
\stophanging
}
\stoptext
And rounded corners?
--
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book
,
backgroundcolor=darkblue,
foregroundcolor=white,
forgroundstyle=bold]
\dorecurse {100} {
\starthanging{\whatever{#1}}
\input tufte
\stophanging
}
\stoptext
And rounded corners?
http://wiki.contextgarden.net/Framed
Hello,
Aditya has proposed the following solution on a forum, it works perfectly.
\definetextbackground
[imagebackground]
[
location=paragraph,
background=color,
backgroundcolor=white,
frame=off,
]
\starttext
\startimagebackground
Hello,
I can not run text around the figure.
thank you,
Fabrice
\starttext
\starthanging[location=right]
{\externalfigure[image.pdf][width=8cm]}
\input knuth
\input knuth
\stophanging
\stoptext
___
If your question
][stopper=),style=bold]
\item Recopier le tableau ci-contre.
\startitemize[n][stopper=),style=bold]
\setuphanging[location=right]
\starthanging{%
\bTABLE[align={middle,lohi}]
\bTR\bTD {} \eTD \bTD {\bf Femmes} \eTD \bTD {\bf Hommes} \eTD \bTD {\bf
Total} \eTD \eTR
\bTR \bTD {\bf Cadres} \eTD \bTD {15
\starthanging{
\placefigure[here,none]{}
{\startcombination[1*2]
{\externalfigure[line.png][width=5cm]}{\tfx\input ward \endgraf}
{\externalfigure[line.png][width=5cm]}{}
\stopcombination}
}\input knuth
\stophanging
\stoptext
attachment
environment:
\setupexternalfigures [location=default]
\starttext
\starthanging{\externalfigure [cow.pdf][width=3.141cm]}
\input ward
\stophanging
\stoptext
I think it is supposed to be the successor to hangaround.
Best regards,
Philipp
pgpWRYfPrrfSu.pgp
?
Try the hanging environment:
\setupexternalfigures [location=default]
\starttext
\starthanging{\externalfigure [cow.pdf][width=3.141cm]}
\input ward
\stophanging
\stoptext
I think it is supposed to be the successor to hangaround.
Dankeschön!
I updated the wiki
in the
garden), but it’s unknown in latest beta.
Is there a replacement?
Try the hanging environment:
\setupexternalfigures [location=default]
\starttext
\starthanging{\externalfigure [cow.pdf][width=3.141cm]}
\input ward
\stophanging
\stoptext
I think it is supposed
Am 2014-03-24 um 14:11 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com:
- \starthanging doesn’t accept parameters (using \setuphanging for every
second picture is evil)
- As you can see in wiki, the picture stands on the first line of the text.
This is a MkII problem, it works
On Mar 24, 2014, at 4:43 AM, Henning Hraban Ramm te...@fiee.net wrote:
Am 2014-03-24 um 14:11 schrieb Wolfgang Schuster
schuster.wolfg...@gmail.com:
- \starthanging doesn’t accept parameters (using \setuphanging for every
second picture is evil)
- As you can see in wiki, the picture
Thanks, Thangalin. I did not know of \hangsidefloat and \movesidefloat and
can see that they will very useful in combination with \placefigure in the
body text, when I need text to flow over and below images at the side.
The problem is that \placefigure[right or left] does not work in footnotes.
Am 02.03.2014 um 21:19 schrieb Alan Bowen bowenala...@gmail.com:
A follow up, if I may.
Unlike \starthanging..\stophanging which behaves in the same way in both body
text and footnotes, \placefigure does not. In footnotes, \olacefigure adds an
opening blank line and runs the text
Thanks, Wolfgang--it does help to know when one is asking too much of
ConTeXt.
Alan
On Mon, Mar 3, 2014 at 11:28 AM, Wolfgang Schuster
schuster.wolfg...@gmail.com wrote:
Am 02.03.2014 um 21:19 schrieb Alan Bowen bowenala...@gmail.com:
A follow up, if I may.
Unlike \starthanging
Again, thanks.
My tests so far indicate that the only way to go in footnotes is with
\starthanging[location-right]...\stophanging--and to be happy with the output
as it is (which is quite nice, when all is said and done).
Alan
On Mon, Mar 3, 2014 at 11:24 AM, Wolfgang Schuster
schuster.wolfg
A follow up, if I may.
Unlike \starthanging..\stophanging which behaves in the same way in both
body text and footnotes, \placefigure does not. In footnotes, \olacefigure
adds an opening blank line and runs the text through the image. It does,
however, seem to place the image better. An example
Hi Alan,
From the archives:
http://www.ntg.nl/pipermail/ntg-context/2006/015481.html
The \hangsidefloat and \movesidefloat commands may prove useful.
Once you have a simple working example, post it to this thread and
I'll update the wiki.
I am using using \starthanging...\stophanging to embed a small image in a
paragraph in a footnote. Currently, I have a pattern like:
xx
xx
xx
xx
Hi Alan,
Please post your code.
On Fri, Feb 28, 2014 at 6:54 AM, Alan Bowen bowenala...@gmail.com wrote:
I am using using \starthanging…\stophanging to embed a small image in a
paragraph in a footnote. Currently, I have a pattern like:
xx
xx
Hi, Thangalin--
Right now I am working with this minimal example :
\setupexternalfigures[location={local,default}]
\starttext
text text.%
%
\footnote{\starthanging[location={right}]
{\externalfigure[cow][width=.1\textwidth]}
\dorecurse{2}{\input ward}
\stophanging}
\stoptext
Alan
On Fri, Feb
able to fix this.
I've been using something like:
\starthanging{
\placefigure[force][fig:first]{Caption 1}
{\externalfigure[first-figure][width=\textwidth]}}
\inother[width=5cm]{Some text for the other bit}
\stophanging
\starthanging{
\placefigure[force][fig:first]{Caption 2}
{\externalfigure
.
I'm new to ConTeXT and have looked at the Details Manual but have not been
able to fix this.
I've been using something like:
\starthanging{
\placefigure[force][fig:first]{Caption 1}
{\externalfigure[first-figure][width=\textwidth]}}
\inother[width=5cm]{Some text for the other bit
-in-the-margin-next-to-a-figure-using-context
Using \starthanging \stophanging put the text in the correct place but then
the figures ran into each other.
regards
Pete
___
If your question is of interest to others as well
On 1/19/2013 12:06 PM, Alan BRASLAU wrote:
Hello,
\starthanging\stophanging is a very appreciated feature.
However, hanging text wrapped around a figure fails if a new paragraph
intervenes.
Minimal example:
\starttext
\starthanging [location=right] {\externalfigure [cow] [width=.3\textwidth
On Mon, 21 Jan 2013 19:48:09 +0100
Hans Hagen pra...@wxs.nl wrote:
On 1/19/2013 12:06 PM, Alan BRASLAU wrote:
Hello,
\starthanging\stophanging is a very appreciated feature.
However, hanging text wrapped around a figure fails if a new
paragraph intervenes.
Minimal example
Hello,
\starthanging\stophanging is a very appreciated feature.
However, hanging text wrapped around a figure fails if a new paragraph
intervenes.
Minimal example:
\starttext
\starthanging [location=right] {\externalfigure [cow] [width=.3\textwidth]}
This is a first paragraph.
\input tufte
Hi,
I combined some functionality into:
\showframe
\starttext
\starthanging{\externalfigure[cow][scale=500]}
\input tufte
\stophanging
\blank
\starthanging[right]{\externalfigure[cow][scale=500]}
\input tufte
\stophanging
\blank
\starthanging[location=right,n=2,distance=1cm
# \startFLOWcell \stopFLOWcell
# \startFLOWchart \stopFLOWchart
\startformula \stopformula
# \startframedcontent \stopframedcontent
\startframedtext[left|right|middle|none][settings] \stopframedtext
# \startfrontmatter \stopfrontmatter
# \starthanging \stophanging
\starthiding \stophiding
there is \starthanging \stophanging and \hangafter=1 \hangindent=1em
.
Both commands need to be added to each affected paragraph again and again, right?
Is there a way to have this hanging first line for a series of paragraphs - with
just a kind of
\starthangingarea
aa
Hi,
I know there is \starthanging \stophanging and \hangafter=1 \hangindent=1em .
Both commands need to be added to each affected paragraph again and again, right?
Is there a way to have this hanging first line for a series of paragraphs - with just
a kind of
\starthangingarea
and following lines indented by the width
of the first word (or more) of the first line, you can use:
\starthanging
{Lorem} ipsum dolor sit amet, consectetuer adipiscing elit. Donec
hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam
nisl, tincidunt et, mattis eget, convallis nec, purus
;
there is \starthanging ... \stophanging now
Ah!
but ... if we can assume that users start tagging their paragraphs with
\bpar .. \epar i can imagine that we provide something \indenting [hang],
so the question is: are you willing to tag
imo, the question is: what has hanging to do
Steffen Wolfrum [EMAIL PROTECTED] writes:
There is always another surprise in ConTexT. I mean:
How should I know?
I didn't know either. :-)
My sources are Hans's manuals + the list-archiv. Neither in the
manuals nor in the archive \setuphanging or \starthanging is
mentioned...
Use
is ment by \indenting[next],
but \indenting[next] seems to be exactly the same as \indenting[first], is
this right?
kind of tricky, since settings to hangindent and alike are forgotten when
the setup is followed by an empty line;
there is \starthanging ... \stophanging now
but ... if we
;
there is \starthanging ... \stophanging now
Ah!
but ... if we can assume that users start tagging their paragraphs with
\bpar .. \epar i can imagine that we provide something \indenting [hang],
so the question is: are you willing to tag
imo, the question is: what has hanging to do
61 matches
Mail list logo